/**
 * Created by Administrator on 2017/10/3 0003.
 */
$(function(){
    function init(){
        renderData();
        bindBtnEvent();
    }

    function renderData(){

    }

    /**
     * 绑定点击事件
     */
    function bindBtnEvent(){
        $('.advList img').off('click').on('click',function(e){
            var id = $(this).data('id');
            window.location.href="/user/detail?id=" + id;
        })
    }
    init();
});